package cn.rdq.iknessplatform.service;

import cn.rdq.api.dto.CatelogDramaItem;
import cn.rdq.api.po.CatelogDrama;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CatelogDramaService extends IService<CatelogDrama> {

    /**
     * 查询清单下的剧目
     *
     * @param catelogDrama
     * @return
     */
    List<CatelogDramaItem> catelogDramItems(CatelogDrama catelogDrama);

    CatelogDramaItem getCatelogInfo(Long catelogId);

    boolean addCatelogItem(CatelogDrama catelogDrama);

    boolean deleteByCatelog(Long catelogId);

}
